package Deom8;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2023-11-19
 * Time: 22:34
 */
public class Test {
    public static void fun(Animal animal) {
        animal.test();
    }
    public static void main(String[] args) {
        fun(new Dog());
    }
}
